package com.shop.expandablelist;

import java.util.List;

/**
 * date:2021/12/23
 * author:wsm(admin)
 * funcation:
 */
public class DataBean {
    private String sellerName;
    private List<ListBean> list;

    public DataBean(String sellerName, List<ListBean> list) {
        this.sellerName = sellerName;
        this.list = list;
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        private String image;
        private String title;
        private int price;
        private int num;
        private int selected;

        public ListBean(String image, String title, int price, int num, int selected) {
            this.image = image;
            this.title = title;
            this.price = price;
            this.num = num;
            this.selected = selected;
        }

        public int getSelected() {
            return selected;
        }

        public void setSelected(int selected) {
            this.selected = selected;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

    }
}
